package com.douxg.learning.springboot.resttemplate;

import com.douxg.learning.springboot.resttemplate.service.impl.MainServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description
 * @Auther douxg
 * @Date 2020/12/30 10:34
 */
@RequestMapping("")
public class Sub2TestController extends TestController {
    @Autowired
    private MainServiceImpl mainServiceImpl;

    @RequestMapping("/mainSub")
    public String mainSub() {
        return "子controller2：" + mainServiceImpl.in();
    }

    public static void main(String[] args) {
        Long count=(long) Math.ceil(0L/10000.0);
        System.out.println(count);
    }
}
